package com.s2015.doors.beans;

import java.util.HashSet;
import java.util.Set;

/**
 * 型材系列
 * (材料的厚度与 系列有关)
 * 
 * @author Guodeqi
 *
 */
public class ProfileSeries {
	private long id;
	
	private String description;
	
	// 与厂商是 多对1 关系
	private Vendor vendor ;
	//与型材是一对多
	private Set<Profile> profiles = new HashSet<Profile>();

	
	public ProfileSeries(){}
	
	public ProfileSeries(long id) {
		super();
		this.id = id;
	}

	public Set<Profile> getProfiles() {
		return profiles;
	}

	public void setProfiles(Set<Profile> profiles) {
		this.profiles = profiles;
	}


	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Vendor getVendor() {
		return vendor;
	}

	public void setVendor(Vendor vendor) {
		this.vendor = vendor;
	}

}
